package com.dbtimer.dbupdatespring.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 最新数据
 * @author swx
 * @TableName LastData
 */
@TableName(value ="LastData")
@Data
public class LastDataEntity implements Serializable {
    /**
     * 出厂编号
     */
    @TableField(value = "FacNum")
    private String facNum;

    /**
     * 站点编号
     */
    @TableField(value = "STCD")
    private String stcd;

    /**
     * 最后更新时间
     */
    @TableField(value = "TM")
    private Date tm;

    /**
     * 累计雨量
     */
    @TableField(value = "PT")
    private BigDecimal pt;

    /**
     * 当前雨量
     */
    @TableField(value = "PJ")
    private BigDecimal pj;

    /**
     * 水位1
     */
    @TableField(value = "Z01")
    private BigDecimal z01;

    /**
     * 水位2
     */
    @TableField(value = "Z02")
    private BigDecimal z02;

    /**
     * 水位3
     */
    @TableField(value = "Z03")
    private BigDecimal z03;

    /**
     *电压
     */
    @TableField(value = "VT")
    private BigDecimal vt;

    /**
     * 信号强度
     */
    @TableField(value = "SI")
    private BigDecimal si;

    /**
     * 主板温度
     */
    @TableField(value = "TP")
    private BigDecimal tp;

    /**
     * 传感器电压
     */
    @TableField(value = "SV")
    private BigDecimal sv;

    /**
     * 导通电压
     */
    @TableField(value = "CV")
    private BigDecimal cv;

    /**
     * 瞬时流量1
     */
    @TableField(value = "FS1")
    private BigDecimal fs1;

    /**
     * 累计流量1
     */
    @TableField(value = "TFS1")
    private BigDecimal tfs1;

    /**
     * 瞬时流量2
     */
    @TableField(value = "FS2")
    private BigDecimal fs2;

    /**
     * 累计流量2
     */
    @TableField(value = "TFS2")
    private BigDecimal tfs2;

    /**
     * 瞬时流量3
     */
    @TableField(value = "FS3")
    private BigDecimal fs3;

    /**
     * 累计流量3
     */
    @TableField(value = "TFS3")
    private BigDecimal tfs3;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}